package edu.cs.usask.ca.silver.testmaster;

import edu.cs.usask.ca.silver.businesslogic.generic.GroupTest;
import edu.cs.usask.ca.silver.businesslogic.generic.ModelProjectTest;
import edu.cs.usask.ca.silver.businesslogic.generic.ModelVersionTest;
import edu.cs.usask.ca.silver.businesslogic.generic.UserTest;
import edu.cs.usask.ca.silver.persistence.datasource.DataSourceFactoryTest;
import edu.cs.usask.ca.silver.persistence.datasource.MpDerbyStorageTest;
import edu.cs.usask.ca.silver.persistence.datasource.MvDerbyStorageTest;
import edu.cs.usask.ca.silver.persistence.datasource.SDerbyStorageTest;
import edu.cs.usask.ca.silver.persistence.datasource.ScDerbyStorageTest;
import junit.framework.Test;
import junit.framework.TestSuite;

public class MasterTestSuit {

	public static Test suite() {
		TestSuite suite = new TestSuite(
				"Test for edu.cs.usask.ca.silver.persistence.datasource");
		//$JUnit-BEGIN$
		// begin business logic layer tests
		suite.addTestSuite(ModelVersionTest.class);
		suite.addTestSuite(ModelProjectTest.class);
		suite.addTestSuite(UserTest.class);
		suite.addTestSuite(GroupTest.class);
		
		// begin persistence layer tests
		suite.addTestSuite(DataSourceFactoryTest.class);
		suite.addTestSuite(MpDerbyStorageTest.class);
		suite.addTestSuite(MvDerbyStorageTest.class);
		suite.addTestSuite(ScDerbyStorageTest.class);
		suite.addTestSuite(SDerbyStorageTest.class);
		//$JUnit-END$
		return suite;
	}

}
